<?php
//列表页属性搜索区
//属性url地址
function getAttrUrl($pos,$attr_value,$title)
{
	$get = $_GET;
	$s= explode('-',$get['s']);

	$s[$pos]=$attr_value;
	$get['s']=implode('-', $s);
	$url =  'index.php?'.http_build_query($get);
	return "<a href='$url'>$title</a>";
}